home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / f90 / omp_nested.z / omp_nested
Encoding:
Text File  |  2002-10-03  |  2.8 KB  |  60 lines

  1. omp_nested(3)                   UNICOS 10.0           Last changed: 1-27-99
  2.  
  3.  
  4. NNAAMMEE
  5.      oommpp__sseett__nneesstteedd, oommpp__ggeett__nneesstteedd, OOMMPP__SSEETT__NNEESSTTEEDD, OOMMPP__GGEETT__NNEESSTTEEDD -
  6.      Manipulates or reports status of nested parallelism
  7.  
  8. SSYYNNOOPPSSIISS
  9.      C/C++:
  10.           ##iinntteeggeerr <<oommpp__sseett__nneesstteedd>>
  11.           vvooiidd oommpp__sseett__nneesstteedd((_i_n_t_e_g_e_r-_e_x_p_r_e_s_s_i_o_n))
  12.  
  13.      Fortran:
  14.           CCAALLLL OOMMPP__SSEETT__NNEESSTTEEDD((_l_o_g_i_c_a_l-_e_x_p_r_e_s_s_i_o_n))
  15.  
  16. IIMMPPLLEEMMEENNTTAATTIIOONN
  17.      UNICOS and IRIX systems
  18.  
  19. SSTTAANNDDAARRDDSS
  20.      OpenMP Fortran API
  21.      OpenMP C/C++ API
  22.  
  23. DDEESSCCRRIIPPTTIIOONN
  24.      Fortran differences are noted in parentheses in the following
  25.      descriptions.
  26.  
  27.      oommpp__sseett__nneesstteedd, OOMMPP__SSEETT__NNEESSTTEEDD
  28.           This procedure enables or disables nested parallelism.
  29.  
  30.      If _i_n_t_e_g_e_r-_e_x_p_r_e_s_s_i_o_n (llooggiiccaall--eexxpprreessssiioonn) evaluates to zzeerroo (FFAALLSSEE),
  31.      which is the default, nexted parallelism is disabled and nested
  32.      parallel regions are seialized and executed by the current thread.  If
  33.      set to nnoonn--zzeerroo (TTRRUUEE), nested parallelism is enabled and parallel
  34.      regions that are nested may deploy additional threads to form the
  35.      team.  This call has precedence over the OOMMPP__NNEESSTTEEDD environment
  36.      variable.  When nested parallelism is enabled, the number of threads
  37.      used to execute the nested parallel regions are implementation
  38.      dependent.  As a result, implementations that are compliant to OpenMP
  39.      are allowed to serialize nested parallel regions even when nested
  40.      parallelism is enabled.
  41.  
  42. EENNVVIIRROONNMMEENNTT VVAARRIIAABBLLEESS
  43.      OOMMPP__NNEESSTTEEDD
  44.           This variable enables or disables nested parallelism.  If set to
  45.           TTRRUUEE, nested parallelism is enabled; if it is set to FFAALLSSEE, it is
  46.           disabled.  The default value is FFAALLSSEE.
  47.  
  48. NNOOTTEESS
  49.      For the OpenMP directives to be honored by the compiler, you must
  50.      specify --mmpp on your compiler command line explicitly.  In addition,
  51.      --MMPP::ooppeenn__mmpp==OONN, which is the default setting, must be in effect.
  52.  
  53. SSEEEE AALLSSOO
  54.      oommpp__lloocckk(3) on how to manipulate locks
  55.  
  56.      oommpp__tthhrreeaaddss(3) for runtime library procedures used to set, call or
  57.      return numbers of threads
  58.  
  59.      This man page is available only online.
  60.